package com.tarena.csmall.sentinel.demo03.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author java@tedu.cn
 * @version 1.0
 */
public class HelloServiceBlockHandler {
    public static String aaa(String name, BlockException e){
        return "熔断了";
    }
    public static String bbb(String name, Throwable e){
        return "其他异常降级";
    }
}
